package com.lvyq.qrobot.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lvyq.qrobot.entity.SysMonster;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface SysMonsterMapper extends BaseMapper<SysMonster> {

    @Select("select * from sys_monster where name = #{name}")
    SysMonster getInfoByName(@Param("name") String name);
}
